package com.eduhzy.ttw.teacher.di.component;

import com.eduhzy.ttw.teacher.di.module.ClassTeacherModule;
import com.eduhzy.ttw.teacher.mvp.contract.ClassTeacherContract;
import com.eduhzy.ttw.teacher.mvp.ui.activity.ClassTeacherActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;

@ActivityScope
@Component(modules = ClassTeacherModule.class, dependencies = AppComponent.class)
public interface ClassTeacherComponent {
    void inject(ClassTeacherActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        ClassTeacherComponent.Builder view(ClassTeacherContract.View view);

        ClassTeacherComponent.Builder appComponent(AppComponent appComponent);

        ClassTeacherComponent build();
    }


}